<template>
    <a-config-provider :locale="zhCN" :theme="theme">
        <router-view />
    </a-config-provider>
</template>
<script setup>
import zhCN from 'ant-design-vue/es/locale/zh_CN'
import dayjs from 'dayjs'
import 'dayjs/locale/zh-cn'
import { reactive } from 'vue'
dayjs.locale('zh-cn')

const theme = reactive({
    token: {
        colorPrimary: '#4764E6'
    }
})
</script>
